package com.yeeKa.enums;

public enum ResTypeEnum {
    SUCCESS("200", "执行成功"),
    FAILURE("-1", "执行失败");

    private String code;
    private String msg;

    ResTypeEnum(String code, String msg) {
        this.code = code;
        this.msg = msg;
    }

    public String getCode() {
        return code;
    }

    public String getDesc() {
        return msg;
    }
}
